package org.jeecg.modules.demo.soQualityOrder.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.soQualityOrder.entity.SoQualityOrder;

import java.util.List;
import java.util.Map;

/**
 * @Description: so_quality_order
 * @Author: jeecg-boot
 * @Date:   2021-12-10
 * @Version: V1.0
 */
public interface SoQualityOrderMapper extends BaseMapper<SoQualityOrder> {

	public boolean deleteByMainId(@Param("mainId") String mainId);
    
	public List<SoQualityOrder> selectByMainId(@Param("mainId") String mainId);

	public Map<String,String> getMapByCon(@Param("con")String con);

    SoQualityOrder editsqoStatus(String soqNo);

    SoQualityOrder getQuantityById(String id);

    List<SoQualityOrder> getBysoNo(String id);

    String getMaxcode();
	
	 public Map<String,Double> getYkByOrder(@Param("str") String str);

    public List<SoQualityOrder> selectBysodNo(@Param("sodNo") String sodNo);
}
